package com.withouther.robot.rainingrobot.service;

import com.withouther.robot.rainingrobot.core.result.CallResult;
import com.withouther.robot.rainingrobot.util.ai.asr.listener.impl.SinowelAsrListener;

import java.util.Map;

/**
* @Author tzq
* @Description //TODO
* @Date 9:07 2020/6/12
**/
public interface AudioAsrService {

    CallResult<Integer> startAsr(String id, int type, Map<String, Object> asrParameter);


    boolean openAsr(String keyId, int asrType, String path, SinowelAsrListener listener, Map<String, Object> asrParameter) throws Exception;
}
